package com.ruoyi.langchain4j.assistant;

import dev.langchain4j.service.spring.AiService;

import static dev.langchain4j.service.spring.AiServiceWiringMode.EXPLICIT;

/**
 * 单纯的对话,没有记忆
 */
@AiService(wiringMode = EXPLICIT, chatModel = "ollamaChatModel")
public interface Assistant {

    String chat(String userMessage);

}
